# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'gmailconfigform.ui'
#
# Created: Wed Mar 18 13:27:53 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui
from PyKDE4.kdeui import *
from PyKDE4.kio import *

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(543, 478)
        self.gridLayout_2 = QtGui.QGridLayout(Form)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.groupBox = QtGui.QGroupBox(Form)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.txtUsername = QtGui.QLineEdit(self.groupBox)
        self.txtUsername.setMinimumSize(QtCore.QSize(400, 0))
        self.txtUsername.setEchoMode(QtGui.QLineEdit.Normal)
        self.txtUsername.setObjectName("txtUsername")
        self.gridLayout.addWidget(self.txtUsername, 0, 1, 1, 1)
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.txtPasswd = QtGui.QLineEdit(self.groupBox)
        self.txtPasswd.setEchoMode(QtGui.QLineEdit.Password)
        self.txtPasswd.setObjectName("txtPasswd")
        self.gridLayout.addWidget(self.txtPasswd, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.intPollingInterval = QtGui.QSpinBox(self.groupBox)
        self.intPollingInterval.setMinimum(1)
        self.intPollingInterval.setMaximum(999)
        self.intPollingInterval.setProperty("value", QtCore.QVariant(5))
        self.intPollingInterval.setObjectName("intPollingInterval")
        self.gridLayout.addWidget(self.intPollingInterval, 2, 1, 1, 1)
        self.gridLayout_3.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(Form)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_5 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_4 = QtGui.QLabel(self.groupBox_2)
        self.label_4.setObjectName("label_4")
        self.gridLayout_4.addWidget(self.label_4, 0, 0, 1, 1)
        self.txtCommand = QtGui.QLineEdit(self.groupBox_2)
        self.txtCommand.setObjectName("txtCommand")
        self.gridLayout_4.addWidget(self.txtCommand, 0, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_2)
        self.label_5.setObjectName("label_5")
        self.gridLayout_4.addWidget(self.label_5, 1, 0, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName("label_6")
        self.gridLayout_4.addWidget(self.label_6, 2, 0, 1, 1)
        self.colColor = KColorCombo(self.groupBox_2)
        self.colColor.setObjectName("colColor")
        self.gridLayout_4.addWidget(self.colColor, 2, 1, 1, 1)
        self.icoIcon = KIconButton(self.groupBox_2)
        self.icoIcon.setObjectName("icoIcon")
        self.gridLayout_4.addWidget(self.icoIcon, 1, 1, 1, 1)
        self.btnCommandBrowse = QtGui.QPushButton(self.groupBox_2)
        self.btnCommandBrowse.setObjectName("btnCommandBrowse")
        self.gridLayout_4.addWidget(self.btnCommandBrowse, 0, 2, 1, 1)
        self.gridLayout_5.addLayout(self.gridLayout_4, 2, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_2, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 4, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(Form)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_6 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.label_7 = QtGui.QLabel(self.groupBox_3)
        self.label_7.setWordWrap(True)
        self.label_7.setObjectName("label_7")
        self.gridLayout_6.addWidget(self.label_7, 0, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_3, 2, 0, 1, 1)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("Form", "Account", None, QtGui.QApplication.UnicodeUTF8))
        self.txtUsername.setToolTip(QtGui.QApplication.translate("Form", "Gmail account name (without the \"@gmail.com\")", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Form", "Username:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Form", "Password:", None, QtGui.QApplication.UnicodeUTF8))
        self.txtPasswd.setToolTip(QtGui.QApplication.translate("Form", "Gmail account password", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Form", "Polling interval:", None, QtGui.QApplication.UnicodeUTF8))
        self.intPollingInterval.setToolTip(QtGui.QApplication.translate("Form", "Polling interval in minutes", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("Form", "Misc.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Form", "Command:", None, QtGui.QApplication.UnicodeUTF8))
        self.txtCommand.setToolTip(QtGui.QApplication.translate("Form", "Command to run when icon clicked (the url of the gmail account will be appended to the command)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Form", "Icon:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Form", "Text color:", None, QtGui.QApplication.UnicodeUTF8))
        self.colColor.setToolTip(QtGui.QApplication.translate("Form", "Select the text color for the unread email indicator", None, QtGui.QApplication.UnicodeUTF8))
        self.icoIcon.setToolTip(QtGui.QApplication.translate("Form", "Select the plasmoid\'s icon", None, QtGui.QApplication.UnicodeUTF8))
        self.btnCommandBrowse.setText(QtGui.QApplication.translate("Form", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("Form", "Notifications", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("Form", "To configure notifications please go to the KDE \"Personal Settings,\" select \"Notifications,\" select \"gmail-plasmoid\" and then modify as required.", None, QtGui.QApplication.UnicodeUTF8))

